<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<a href="dr.php">导入</a>
	<center>
   <h2>课程展示页面</h2>
		<table border="1" width="500px">
			<tr>
				<td>编号</td>
				<td>课程名字</td>
				<td>代课老师</td>
				<td>课程内容</td>
				<td>课程时间</td>
				<td>操作</td>
			</tr>
			<?php foreach ($res as $key => $value) { ?>
			<tr>
				<td><?php echo $value["c_id"];?></td>
				<td><?php echo $value["c_name"];?></td>
				<td><?php echo $value["c_teacher"];?></td>
				<td><?php echo $value["c_descs"];?></td>
				<td><?php echo $value["c_time"];?></td>
				<td>
					<a href="del.php?id=<?php echo $value['c_id'];?>">删除</a>
					<a href="up.php?id=<?php echo $value['c_id'];?>">修改</a>
				</td>
			</tr>
			<?php }?>
		</table>
	</center>
</body>
</html>